#define _CRT_SECURE_NO_WARNINGS 1
#include"SeqList.h"
int main()
{
	SeqList SL;
	SeqListInit(&SL);
	SeqListPushBack(&SL, 1);
	SeqListPushBack(&SL, 2);
	SeqListPushBack(&SL, 3);
	SeqListPushBack(&SL, 4);
	SeqListPushBack(&SL, 5);
	SeqListPushFront(&SL, 0);
	SeqListPushFront(&SL, -1);
	SeqListPushFront(&SL, -2);
	SeqListPushFront(&SL, -3);
	SeqListInsert(&SL, 0, 100);
	SeqListInsert(&SL, 0, 101);
	SeqListInsert(&SL, 0, 102);
	SeqListInsert(&SL, 0, 103);
	SeqListInsert(&SL, SL.size, 1000);
	SeqListInsert(&SL, SL.size, 1001);
	SeqListInsert(&SL, SL.size, 1002);
	SeqListErase(&SL, 0);
	SeqListErase(&SL, 0);
	SeqListErase(&SL, SL.size - 1);
	SeqListErase(&SL, SL.size - 1);
	SeqListPrint(&SL);
	SeqListDestroy(&SL);
	return 0;
}